package jeconbond.experiment.market.generate;

import jeconbond.automata.AutomataUtils.IProfitCostGenManager;
import jeconbond.automata.AutomataUtils.IProfCostManagerFactory;
import jeconbond.experiment.market.resourcerelations.process.IResourceRelationExperimentContext;
import jeconbond.experiment.process.IJEBExperimentContext;

public class DefaultProfCostManagerFactory implements IProfCostManagerFactory {
	@Override
	public IProfitCostGenManager newManager(
			IJEBExperimentContext iexperimentContext
	) {
		IResourceRelationExperimentContext experimentContext = 
			(IResourceRelationExperimentContext) iexperimentContext;
		return new DefaultProfCostManager(experimentContext);
	}
}
